﻿using System;

namespace HealthCommunity
{
	public partial class DrugStoreAdminMng : System.Web.UI.Page
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			var u = SiteContext.Current.CurrentUser;

			if(u == null || u.Role == null || u.Role.RoleName.ToLower().Equals("storeadmin") || u.Role.RoleName.ToLower().Equals("storemember"))
			{
				Server.Transfer("~/Login.aspx");
			}
		}
	}
}